package com.shuang.service;

import com.shuang.pojo.PageResult;
import com.shuang.pojo.Student;
import com.shuang.pojo.StudentQueryParam;

import java.util.List;

public interface StudentService {

    /*条件分页查询*/
    PageResult<Student> page(StudentQueryParam studentQueryParam);

    /*添加学员*/
    void save(Student student);

    /*根据id查询学员 -> 查询回显*/
    Student getInfo(Integer id);

    /*更新学员信息*/
    void update(Student student);

    /*删除学员*/
    void delete(List<Integer> ids);

    /*违纪处理*/
    void violate(Integer id, String score);
}
